0702ebb8a5b26e5976e2d134d58908692745de00,plugins/kettle-s3csvinput-plugin/src/org/pentaho/di/trans/steps/s3csvinput/S3CsvInputMeta.java,S3CsvInputMeta,getS3Service,#VariableSpace#,673

Before Change


		// Try to connect to S3 first
		//
		String accessKey = space.environmentSubstitute(awsAccessKey);
		String secretKey = space.environmentSubstitute(awsSecretKey);
		AWSCredentials awsCredentials = new AWSCredentials(accessKey, secretKey);
		
		S3Service s3service = new RestS3Service(awsCredentials);

After Change



    // Try to connect to S3 first
    //
    String accessKey = Encr.decryptPasswordOptionallyEncrypted( space.environmentSubstitute( awsAccessKey ) );
    String secretKey = Encr.decryptPasswordOptionallyEncrypted( space.environmentSubstitute( awsSecretKey ) );
    AWSCredentials awsCredentials = new AWSCredentials( accessKey, secretKey );

    S3Service s3service = new RestS3Service( awsCredentials );